package com.tnovoselec.android.feed.handler.entity;

public class ChannelDto extends ValidEntity {

    public ChannelDto(long id) {
	super(id);
    }

    public ChannelDto() {
	super();
    }

    private String channelId;
    private String title;
    private String description;
    private String imageUrl;
    private String url;
    private long parentId;

    
    
    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getTitle() {
	return title;
    }

    public void setTitle(String title) {
	this.title = title;
    }

    public String getImageUrl() {
	return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
	this.imageUrl = imageUrl;
    }

    public String getUrl() {
	return url;
    }

    public void setUrl(String url) {
	this.url = url;
    }

    public String getDescription() {
	return description;
    }

    public void setDescription(String description) {
	this.description = description;
    }

    public long getParentId() {
	return parentId;
    }

    public void setParentId(long parentId) {
	this.parentId = parentId;
    }

    @Override
    public boolean isValid() {
	return title != null && imageUrl != null && url != null;
    }

}
